package com.diyizu.youdianda.dto;

import com.diyizu.youdianda.entity.YddArticle;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class YddArticleDto extends YddArticle {


    //计数
    private Long count;

    //总页数
    private Long totalPages;

    //每页几条
    private Long pageSize;

    //当前页
    private Long currentPage;

    //单纯的article对象
    private List<YddArticle> data;

    private String catename;

    @JsonProperty(value = "isCollect")
    private boolean Collect;

    @JsonProperty(value = "isLike")
    private boolean Like;
}
